package com.hydl.power.pojo;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

@Api(value = "Device", description = "设备")
public class Device {
    private Integer id;
    @ApiModelProperty("设备id")
    private String deviceId;
    @ApiModelProperty("设备名称")
    private String deviceName;
    @ApiModelProperty("配电房Id")
    private String powerRoomId;
    @ApiModelProperty("配电房名称")
    private String powerRoomName;
    @ApiModelProperty("设备地址")
    private String deviceAddress;
    @ApiModelProperty("设备类型")
    private String deviceType;
    @ApiModelProperty("设备属性")
    private String deviceProperty;
    @ApiModelProperty("通讯IP")
    private String espIp;
    @ApiModelProperty("通讯端口")
    private String espPort;
    @ApiModelProperty("通讯地址")
    private String espAddress;
    @ApiModelProperty("通讯ID")
    private String espId;
    @ApiModelProperty("1,启用 2禁用")
    private Integer flag;
    @ApiModelProperty("项目名")
    private String navId;
    @ApiModelProperty("项目id")
    private String projectId;
    @ApiModelProperty("设备编码")
    private String iemi;
    @ApiModelProperty("区域id")
    private String areaId;
    @ApiModelProperty("区域名字")
    private String areaName;
    @ApiModelProperty("单位名字")
    private String projectName;
    @ApiModelProperty("设备序列号")
    private String serialNumber;
    @ApiModelProperty("创建时间")
    private Date deviceTime;
    @ApiModelProperty("网关sn")
    private String gatewaySn;
    @ApiModelProperty("设备通讯地址")
    private String deviceMessageAddress;
    @ApiModelProperty("公共地址")
    private String commonalityDdress;
    @ApiModelProperty("通道")
    private String aisle;

    private String tableName;

    private Integer alarmStatus;

    private Integer communicationStatus;

    private Integer alarm;

    private String sn;

    private Integer transformerStatus;

    public Integer getTransformerStatus() {
        return transformerStatus;
    }

    public void setTransformerStatus(Integer transformerStatus) {
        this.transformerStatus = transformerStatus;
    }

    public Integer getAlarm() {
        return alarm;
    }

    public void setAlarm(Integer alarm) {
        this.alarm = alarm;
    }

    public Integer getCommunicationStatus() {
        return communicationStatus;
    }

    public void setCommunicationStatus(Integer communicationStatus) {
        this.communicationStatus = communicationStatus;
    }


    public Integer getAlarmStatus() {
        return alarmStatus;
    }

    public void setAlarmStatus(Integer alarmStatus) {
        this.alarmStatus = alarmStatus;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumber(String serialNumber) {
        this.serialNumber = serialNumber;
    }

    public String getAreaId() {
        return areaId;
    }

    public void setAreaId(String areaId) {
        this.areaId = areaId;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getIemi() {
        return iemi;
    }

    public void setIemi(String iemi) {
        this.iemi = iemi;
    }

    public String getNavId() {
        return navId;
    }

    public void setNavId(String navId) {
        this.navId = navId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId == null ? null : deviceId.trim();
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName == null ? null : deviceName.trim();
    }

    public String getPowerRoomId() {
        return powerRoomId;
    }

    public void setPowerRoomId(String powerRoomId) {
        this.powerRoomId = powerRoomId == null ? null : powerRoomId.trim();
    }

    public String getPowerRoomName() {
        return powerRoomName;
    }

    public void setPowerRoomName(String powerRoomName) {
        this.powerRoomName = powerRoomName == null ? null : powerRoomName.trim();
    }

    public String getDeviceAddress() {
        return deviceAddress;
    }

    public void setDeviceAddress(String deviceAddress) {
        this.deviceAddress = deviceAddress == null ? null : deviceAddress.trim();
    }

    public String getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType == null ? null : deviceType.trim();
    }

    public String getDeviceProperty() {
        return deviceProperty;
    }

    public void setDeviceProperty(String deviceProperty) {
        this.deviceProperty = deviceProperty == null ? null : deviceProperty.trim();
    }

    public String getEspIp() {
        return espIp;
    }

    public void setEspIp(String espIp) {
        this.espIp = espIp == null ? null : espIp.trim();
    }

    public String getEspPort() {
        return espPort;
    }

    public void setEspPort(String espPort) {
        this.espPort = espPort == null ? null : espPort.trim();
    }

    public String getEspAddress() {
        return espAddress;
    }

    public void setEspAddress(String espAddress) {
        this.espAddress = espAddress == null ? null : espAddress.trim();
    }

    public String getEspId() {
        return espId;
    }

    public void setEspId(String espId) {
        this.espId = espId == null ? null : espId.trim();
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public Date getDeviceTime() {
        return deviceTime;
    }

    public void setDeviceTime(Date deviceTime) {
        this.deviceTime = deviceTime;
    }

    public String getGatewaySn() {
        return gatewaySn;
    }

    public void setGatewaySn(String gatewaySn) {
        this.gatewaySn = gatewaySn;
    }

    public String getDeviceMessageAddress() {
        return deviceMessageAddress;
    }

    public void setDeviceMessageAddress(String deviceMessageAddress) {
        this.deviceMessageAddress = deviceMessageAddress;
    }

    public String getCommonalityDdress() {
        return commonalityDdress;
    }

    public void setCommonalityDdress(String commonalityDdress) {
        this.commonalityDdress = commonalityDdress;
    }

    public String getAisle() {
        return aisle;
    }

    public void setAisle(String aisle) {
        this.aisle = aisle;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }
}
